package com.bpz.main;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.*;
import org.springframework.web.servlet.ModelAndView;


/**
 * Created by 半瓶子 on 1/24/15.
 * blog: xusir.cnblogs.com
 */
@Controller
public class controller {
    //@RequestMapping(value = {"/","index"})
    public ModelAndView home()
    {
        ModelAndView view=new ModelAndView("index");
        return view;
    }
    @RequestMapping("include/right")
    public void right()
    {
        System.out.println("incright");
    }
}
